import scala.actors.Actor._
import scala.actors._

object MyActor extends Actor{
	def act(){
	  loop{
	    receive{
	      case "exit" => exit
	      case s:String => printf("I got %s\n",s);
	    }
	  }
	}
	
}

